<template>
	<view>
		<button type="default" @click="changeLeftNum()">top:修改left组件的数据</button>
	</view>
</template>

<script>
	export default {
		name:"top",
		data() {
			return {
				
			};
		},
		methods:{				
			changeLeftNum(){
				uni.$emit("changeNum",10)
			}
		}
	}
</script>

<style>

</style>
